﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WyUnity.Data.Query;
using WyUnity.Data.TableMapper;

namespace DAL_13_0.Entities
{
    [Map("t_MeasureUnit")]
    public class MeasureUnit:TableBase<MeasureUnit>
    {
        [Map("FMeasureUnitID")]
        public int ID { get; set; }
        [Map("FName")]
        public string Name { get; set; }
        [Map("FUnitGroupID")]
        public int GroupID { get; set; }
        [Map("FCoefficient")]
        public decimal Coefficient { get; set; }

        public static FieldBase pID = new Field<MeasureUnit>(p => p.ID);
    }
}
